package office.action.sale.wrapper;

import office.bo.sale.impl.Rival;
import platform.common.bo.IdentifiableObj;

public class RivalWrapper {
	private String id;
	private String unitName;    //单位名称
	private String projectName; //项目名称
	private String serviceYear; //服务年份
	private String relationLead;//与哪位领导联系
	private String measure;     //采取的措施
	private String myMeasure;   //我方措施
	private String createUser;  //创建人
	private String createUserName; //创建人名称
	/**
	 * 从bo拷贝属性
	 * @param baseBO
	 */
	public void copyToWrapper(IdentifiableObj baseBO){
		Rival bo = (Rival)baseBO;
		this.id = bo.getId().toString();
		this.projectName = bo.getProjectName();
		this.unitName = bo.getUnitName();
		this.serviceYear = bo.getServiceYear();
		this.relationLead = bo.getRelationLead();
		this.measure = bo.getMeasure();
		this.myMeasure = bo.getMyMeasure();
		this.createUser = bo.getCreateUser();
		this.createUserName = bo.getCreateUserName();
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getUnitName() {
		return unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}

	public String getServiceYear() {
		return serviceYear;
	}

	public void setServiceYear(String serviceYear) {
		this.serviceYear = serviceYear;
	}

	public String getRelationLead() {
		return relationLead;
	}

	public void setRelationLead(String relationLead) {
		this.relationLead = relationLead;
	}

	public String getMeasure() {
		return measure;
	}

	public void setMeasure(String measure) {
		this.measure = measure;
	}

	public String getMyMeasure() {
		return myMeasure;
	}

	public void setMyMeasure(String myMeasure) {
		this.myMeasure = myMeasure;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}
	
}
